package com.zte.common.service.impl;

import com.zte.common.dao.CommonDeptJobUserDao;
import com.zte.common.model.CommonDept;
import com.zte.common.service.CommonDeptJobUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CommonDeptJobUserServiceImpl implements CommonDeptJobUserService {
    @Autowired
    private CommonDeptJobUserDao commonDeptJobUserDao;
    @Override
    public List<CommonDept> getDeptJobUser(Integer userId) {
        return commonDeptJobUserDao.queryDeptJobUser(userId);
    }
}
